package com.lighting.smssystem.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.lighting.smssystem.utils.Long2StringConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * Author LeeMaster
 */
@Data
@ApiModel
@TableName("template_tbl")
public class Template {

    @ApiModelProperty
    @JsonSerialize(using = Long2StringConvert.class)
    @TableId("template_id")
    private Long templateId;

    @ApiModelProperty
    private Integer templateExtId;

    @ApiModelProperty
    private String templateName;

    @ApiModelProperty
    private String templateText;

    @ApiModelProperty
    private String templateOrder;

    @ApiModelProperty
    private Integer templateType;

    @ApiModelProperty
    private Date templateAt;
}
